package edu.zqxy.eastmoney.pojo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;
import java.util.Date;

@Data
@NoArgsConstructor
@AllArgsConstructor
@Table(name="t_kline")
public class Kline {
   @Id
    @Column(name="id")
    Integer id;

    @Column(name="st_code")
    String code;//    股票代码
    Date date;//K线日期
    Double openPrice;
    Double closePrice;
    Double lowestPrice;
    Double highestPrice;
    //涨幅
    Double incRate;
    //振幅
    Double pluseRate;
    Double exchangeNum;//成交数量
    Double exchangeAmt;//成交金额
    Double exchangeRate;//换手率
}
